<template>
  <el-container style="height: 100%">
    <el-aside width="auto"><Aside /></el-aside>
    <el-container>
      <el-header><Header /></el-header>
      <!-- 动态标签 -->
      <Tab />
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import Header from '../components/header.vue'
import Aside from '../components/Aside.vue'
import Tab from '../components/Tab.vue'
export default {
  components: {
    Header,
    Aside,
    Tab,
  },
}
</script>
<style lang="scss" scoped>
.el-header {
  background: #f5f5f5;
}
</style>
